package com.robotic.videoAlarm.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.robotic.common.annotation.Excel;
import com.robotic.common.core.domain.BaseEntity;

/**
 * 异常行为报警管理对象 video_alarm_record
 *
 * @author ruoyi
 * @date 2025-09-15
 */
@Data
@TableName("video_alarm_record")
public class VideoAlarmRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 行为类别 */
    @Excel(name = "行为类别")
    private String behavior;

    /** 报警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报警时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date alarmTime;

    /** 置信度 */
    @Excel(name = "置信度")
    private Long confidenceLevel;

    /** 区域 */
    @Excel(name = "区域")
    private String region;

    /** 巡检任务 */
    @Excel(name = "巡检任务")
    private String taskName;

    /** 任务时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "任务时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date taskTime;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 责任部门 */
    @Excel(name = "责任部门")
    private Long deptId;

    /** 状态 */
    @Excel(name = "状态")
    private String status;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    private Date endTime;
}
